<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
</head>
<h1 style="text-align:center;font-family:arial;color:block;letter-spacing:2px;"><font size="50">小学生答题测试系统</font></h1>
	<p style="text-align:center;word-spacing:5px">
	<font size="6">
    <a href="/introduce.html">首页</a>&nbsp;
    <a href="/classes.html">教学班</a>&nbsp;&nbsp;
    <a href="/student.html">学生</a>&nbsp;&nbsp;
    <a href="/course.html">课程</a>&nbsp;&nbsp;
    <a href="/question.html">题库</a>&nbsp;&nbsp;
    <a href="/exam.html">测验</a>&nbsp;&nbsp;
    <a href="/loginUser.html">登录</a>&nbsp;&nbsp;
    </font></p>
<body>
    <div id="editor"></div>
    <script type="text/javascript" src="js/wangEditor.min.js"></script>
    <script type="text/javascript">
        var E = window.wangEditor
        var editor = new E('#editor')
        editor.customConfig.uploadImgShowBase64 = true
        editor.customConfig.menus = [
        	'head',  
    		'bold',  
   		 	'italic',  
    		'underline', 
    		'strikeThrough',  
    		'foreColor',  
		    'backColor',  
		    'link', 
		    'list',  
		    'justify',  
		    'quote',  
		    'image',  
		    'table',  
		    'code',  
		    'undo',  
 		    'redo'  
    	]
        editor.create()
        </script>
</body>
    <script type="text/javascript">
    function getContent(){
    	var node =  document.getElementById("content");
     	node.value = editor.txt.html();	
     	var node1 =  document.getElementById("contentStr");
     	node1.value = editor.txt.html();	
    	}
    </script>
    <p align="center"><button onclick="getContent()">获取内容</button></p>
	<form method="post" action="/question/insert"  >
		<p align="center"><label>题库ID:</label>
   			<input type="text" id="bankId" name="bankId"></p>
   		<p align="center"><label>题目介绍:</label>
   			<input type="text" id="questionDescribe" name="questionDescribe"></p>
   		<p align="center"><label>题目内容:</label>
    		<input type="text" id="content" name="content" ></p>
    	<p align="center"><label>题目内容:</label>
    		<input type="text" id="contentStr" name="contentStr" ></p>	
    		
   		<p align="center"><input type="submit" id="submit" value="提交"></p>
	</form>
</html>
